<template>
  <div>
    <el-card class="box-card">
  <div slot="header" class="clearfix">
    <span>卡片名称</span>
    <el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>
  </div>
  <div v-for="o in 4" :key="o" class="text item">
    {{'列表内容 ' + o }}
  </div>
</el-card>
<hr>
<h1>走马灯</h1>
<div class="block" style="background-color: pink;">
    <span class="demonstration">Click 指示器触发</span>
    <el-carousel :interval="1500" trigger="click" height="150px">
      <el-carousel-item v-for="item in 4" :key="item">
        <h3 class="small">{{ item }}</h3>
        <p>更多内容</p>
      </el-carousel-item>
    </el-carousel>
  </div>
  </div>
</template>

<script>
  export default {
    
  }
</script>

<style lang="scss" scoped>

</style>